var netTool 
var mDate = require("../tools/date")
function MoveOilMachine(_netTool) {
	netTool = _netTool
  this.getCode = function (data, fn) {
    netTool.getAjaxUrlValueBackground('capi/loomoSMS/getCode', {
	 signature:'商品过期管家' ,
      ...data
    }, function (res) {
      typeof fn == 'function' && fn(res);
    })
  }
 
  this.checkCode = function(data,fn)
  {
    netTool.getAjaxUrlValueBackground('capi/loomoSMS/checkCode', { 
      ...data,
    }, function (res) {
      typeof fn == 'function' && fn(res);
    })
  }
}
module.exports = MoveOilMachine;